
module dll.Exported;

import tango.math.Math;
import tango.io.digest.Crc32;
import tango.stdc.stringz;
import tango.text.convert.Float;
import tango.core.sync.Mutex;

import dll.Interface;

export extern(Windows) void setDouble(char * cWorkspace, double value )
{

	char[] workspaceName = fromStringz(cWorkspace);

	Invoke.setDouble(workspaceName, value);
}

export extern(Windows) double getDouble(char * cWorkspace )
{
	//
	// a bad value..to look for from out calling client
	//
	double value = -999.999;

	//
	// if date and time equal -1 then use only the index value
	// to return back a value
	//

	char[] workspaceName = fromStringz(cWorkspace);

	value = Invoke.getDouble(workspaceName);

	return value;
}



